c70a3d0097e1b44f1d86a47c1cc921e3eb8f14a4,cfg4j-git/src/main/java/org/cfg4j/source/git/GitConfigurationSource.java,GitConfigurationSource,getConfiguration,#Environment#,95
Before Change
Properties properties = new Properties();
List<Path> paths = StreamSupport.stream(configFilesProvider.getConfigFiles().spliterator(), false)
.map(path -> clonedRepoPath.resolve(pathResolver.getPathFor(environment)).resolve(path))
.collect(Collectors.toList());
for (Path path : paths) {
try (InputStream input = new FileInputStream(path.toFile())) {
After Change
Properties properties = new Properties();
List<Path> paths = new ArrayList<>();
for (Path path : configFilesProvider.getConfigFiles()) {
paths.add(clonedRepoPath.resolve(pathResolver.getPathFor(environment)).resolve(path));
}
for (Path path : paths) {